package callback;

import pojo.League;
import client.Client;

public class JoinLeagueCallback extends ClientCallback {
	private League mLeague;
	
	public JoinLeagueCallback(Client client, League league) {
		super(client);
		this.mLeague = league;
	}

	@Override
	public void perform() {
		//mLobbyView.showLeagueRooms(mLeagueId);
		mMainScreen.showJoinLeagueView(this.mLeague);
	}
	
	
}
